public class K
{
    public static void main(String[] args)
    {
	for (double a = 1.35; a <= 1.36; a += 0.001)
	    System.out.println(a + " " + K(a));
    }

    // computes Kolmogorov distribution to within 1e-6 precision
    public static double K(double alpha)
    {
	int i = 1, sign = 1;
	double ans = 0.0, term = 1.0, a2 = alpha * alpha;
	while (Math.abs(term) > 0.000001 || i < 10000)
	{
	    term = 2.0 * sign * Math.exp(-2.0 * i * i * a2); 
	    sign *= -1;
	    i += 1;
	    ans = ans + term;
	    //	    System.out.println(term + " " + ans);
	} 
	return ans;
    }
}